<script>
import {config} from '@/common/utils/congfig.js'
	export default {
		globalData: {
			api_base_url:config.api_base_url,
			// 客服电话
			phone:'02883399903',
			// 版本号
			version_number: 'V3.0.0',
			// 手机号码正则验证
			regex_phone: /^(13[0-9]|14[5-9]|15[0-3,5-9]|16[2,5,6,7]|17[0-8]|18[0-9]|19[1,3,5,8,9])\d{8}$/,
			// 首页跳转到分类页面
			iconType: ''
  		},
		onLaunch: function() {
			uni.hideTabBar()
		    uni.setStorageSync("SystemInfo", uni.getSystemInfoSync().platform);
			console.log('App Launch')
		},
		onLoad: function() {
			uni.hideTabBar()
		},
		onShow: function() {
			uni.hideTabBar()
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	page {
		height: 100%;
		background: #f5f5f5;
	}
</style>
